package org.itboys.core.service.mongo.web;

import org.itboys.core.entity.mongo.SundayCouponOrderSubstract;
import org.itboys.core.entity.mongo.SundayCouponOrderUserArea;
import org.itboys.mongodb.core.MongoDataSource;
import org.itboys.mongodb.service.BaseMongoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author：贾琦磊
 * @Date：2018/8/30促销单用户范围
 * @Description：
 */
@Service
public class SundayCouponOrderUserAreaService extends BaseMongoService<SundayCouponOrderUserArea>{
    @Resource(name = "mobileDs")
    private MongoDataSource mobileDataSource;
    @Override
    protected MongoDataSource getMongoDataSource() {
        return mobileDataSource;
    }
    @Override
    protected Class<SundayCouponOrderUserArea> getEntityClass() {
        return SundayCouponOrderUserArea.class;
    }
}
